﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<SeaBattle.UI.Web.Models.ChildActions.RoomRightPanel>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>RightPanel</title>
</head>
<body>
    <div id="whatshow-panel">
    <p>Choose what game show</p>
        <input id="btnGamesJoin" value="For Joing" type="button" 
            onclick="self.location.href='<%: Url.Action("Index","Room") %>';"/>
        <input id="btnYourGames" value="Your Games" type="button" 
            onclick="self.location.href='<%: Url.Action("ShowOwnerGames","Room") %>';"/>
    </div>
    <hr />
    <div id='creatgame-panel'>
        <br />
        <% using (Html.BeginForm()){ %>
            <div id="validator">
            <%: Html.ValidationSummary()%>
            </div>
            <div class="room-input-label">
            <%: Html.LabelFor(x => x.Preset)%>
            </div>
            <div class="room-input-box">
            <%: Html.TextBoxFor(x => x.Preset)%>
            </div>

            <input type="submit" value="Create" />
        <%} %>
    </div>
</body>
</html>
